package com.jy.api.signUpReq.stock;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Created by lihu on 2018/2/1.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ModifyStockPriceSignUpReq {

    @NotNull(message = "参数错误")
    private String productId;

    @Min(value = 0, message = "库存件数价格不能为负")
    private int stockPrice;

}
